package com.pengshun.modules.domain;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

@Data
@Table(name = "ps_user_wechat")
@Entity
public class UserWechat {

    @Id
    @NotNull(message = "类型不能为空")
    private String openid;
    private String nickName;
    private String sex;
    private String province;
    private String city;
    private String country;
    private String headimgurl;
    private String privilege;
    private String unionid;
    private Long userId;
}
